﻿
using Sunny.Service;

namespace Sunny.Util.Exception
{
    public class BusinessException: System.Exception
    {
        public CodeMessage CodeMessage { get; set; }
        public BusinessException(CodeMessage codeMessage):base(codeMessage.Message)
        {
            this.CodeMessage = codeMessage;
        }
    }
}